@layout("/backend/common/_container.html"){
<div class="dhcc-form" id="tableInfoForm">
    <input type="hidden" id="id" value="${splitTables.id}">
            <#Select id="tableName" name="表名" map="${tableMap}" value="${splitTables.tableName}" onSelect="StbInfoDlg.onTableSelect" width="250px"/>
            <#Input id="tableComment" name="表注释" value="${splitTables.tableComment}"  width="244px"/>
            <#Input id="parentCode" name="主表" hidden="parentId" readonly="readonly" width="244px"
                    hiddenValue="${splitTables.parentId}" value="${splitTables.parentCode}"
                    clickFun="StbInfoDlg.showTableSelectTree(); return false;"
                    style="background-color: #ffffff  !important;"
                    selectFlag="true" selectId="pTreeDiv" selectTreeId="pTree" selectStyle="width:244px !important;"/>
            <#SelectForm id="joinField" name="关联字段" url="/splittable/queryColumn/${splitTables.tableName}" key="value" text="text" hasEmpty="false" width="250px" value="${splitTables.joinField}"/>
    <div class="toolbar">
            <#Button name="保存" id="ensure" icon="icon-w-save" clickFun="StbInfoDlg.editSubmit()"/>
            <#Button btnCss="l-bt-red" name="关闭" id="cancel" icon="icon-w-close" clickFun="StbInfoDlg.close()"/>
    </div>
</div>
<script src="${ctxPath}/static/backend/system/splittable/splittable_info.js"></script>
@}
